import request from '@/utils/request'

// 查询价格配置列表
export function listsimPriceConfig(query) {
  return request({
    url: '/sim/simPriceConfig/list',
    method: 'get',
    params: query
  })
}

// 查询价格配置详细
export function getsimPriceConfig(id) {
  return request({
    url: '/sim/simPriceConfig/' + id,
    method: 'get'
  })
}

// 新增价格配置
export function addsimPriceConfig(data) {
  return request({
    url: '/sim/simPriceConfig',
    method: 'post',
    data: data
  })
}

// 修改价格配置
export function updatesimPriceConfig(data) {
  return request({
    url: '/sim/simPriceConfig',
    method: 'put',
    data: data
  })
}

// 删除价格配置
export function delsimPriceConfig(id) {
  return request({
    url: '/sim/simPriceConfig/' + id,
    method: 'delete'
  })
}

// 导出价格配置
export function exportsimPriceConfig(query) {
  return request({
    url: '/sim/simPriceConfig/export',
    method: 'get',
    params: query
  })
}